﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace TeBigCoreApi.Common
{
    public static class MyRandom
    {
        static Random random = new Random();

        public static int NextInt(int minimum, int maximum)
        {
            return random.Next(minimum, maximum);
        }

        public static double NextDouble(double minimum, double maximum)
        {
            return random.NextDouble() * (maximum - minimum) + minimum;
        }

    }
}
